package com.one.efaimaly.main.ui.activity;

import android.support.annotation.NonNull;

import com.one.common.view.multitytype.adapter.BaseItemBinder;
import com.one.common.view.multitytype.adapter.BaseViewHolderMulti;
import com.one.efaimaly.R;
import com.one.efaimaly.main.model.item.PingyinItem;

/**
 * creator: zhulunjun
 * time:    2018/8/6
 * describe:
 */
public class PingYinBinder extends BaseItemBinder<PingyinItem> {

    public PingYinBinder() {
        super(R.layout.item_pingyin);
    }

    @Override
    protected void bindView(@NonNull BaseViewHolderMulti holder, @NonNull PingyinItem item) {
        holder.setText(R.id.tv_letter, item.getLetter());
    }
}
